<template>
  <div id='leveldetail'>
    <img class="viptop" src="../assets/images/viplevel-top.png" alt="">
    <div class="mendianshowinfo" v-for="(item, lindex) in levelinfo" :key="lindex">
      <div class="infolevel">
        <img :src="item.levelimg" alt="">
        <div class="mendianinfocontent">
          <h1>等级&nbsp{{item.levelname}}</h1>
          <p class="mendianhtml" v-html="item.upleveltext"></p>
          <div class="mendiantitle">可享福利</div>
          <div class="mendian" v-for="iitem in item.preferentialtext">
            <div class="mandianright">
              <p>{{iitem}}</p>
            </div>
          </div>
        </div>
      </div>
    </div>
    <div class="mendianshowinfo">
      <div class="mendiantitle">—— 积分获取 ——</div>
      <section class="tiptop">消费积分：每消费1元累计1分</section>
      <section>活动积分: 积分的获取以DANSKIN公司政策与促销活动另行公布为准。</section>
    </div>
  </div>
</template>

<script>

export default {
  name: 'leveldetail',
  components: {
  },
  data () {
    return {
      levelinfo: {}
    }
  },
  created () {
    this.getObjDetail('./static/json/level/vippreferential.json').then((data) => {
      this.levelinfo = data.levelthemes
    }, () => {})
  },
  methods: {
  }
}
</script>

<style lang="less">
@import '../assets/less/userlevel/levelinfo.less';
</style>
